Source code :: Plasma position.php

[Return]
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
##!/usr/bin/python2
## -*- coding: utf-8 -*-



<%page args="shot, page" />

<%

    from pygolem_lite.web import make_config, get_page_paths, make_image
    from  pygolem_lite import Shot
    import re,os
    page_path, base_path, page  = get_page_paths(shot, page)
%>

<a href="plasma_position.py">[Source - plasma_position.py]</a><br/>


% if Shot(shot)['plasma']:
    ${make_image( "plasma_position_r" , "Horizontal plasma position")}
    ${make_image( "plasma_position_z" , "Vertical plasma position")}
    ${make_image( "py_z", "Vert by python")}
    ${make_image( "py_r", "Hori by python")}
    ${make_image( "mc0" , "mc1")}
    ${make_image( "mc1" , "mc5")}
    ${make_image( "mc2" , "mc9")}
    ${make_image( "mc3" , "mc13")}
    ${make_image( "mc4" , "saddle coil")}
    ${make_image( "mc5" , "quadrupole")}
    

%else:
        <h2>No plasma</h2>
%endif


${Shot(shot).get_pygolem_list([ 'mirnov_coils:position_z', 'mirnov_coils:position_r'])}

Navigation